﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="editProfile.aspx.vb" Inherits="quizzes.editProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2 class="pageTitle">Edit my profile</h2>
    <asp:PlaceHolder ID="placeholder_notLoggedIn" runat="server" Visible="false">
        <p class="error">You are not logged in.</p>
        <asp:HyperLink runat="server" Text="Log in." NavigateUrl="~/Account/Login.aspx"></asp:HyperLink>
    </asp:PlaceHolder>

    <asp:PlaceHolder ID="placeholder_loggedIn" runat="server" Visible="false">
        <asp:PlaceHolder ID="placeholder_profilePicture" runat="server" Visible="False">
            <asp:Image ID="img_profilePicture" runat="server"  CssClass="profileImage" ImageAlign="Right" />
        </asp:PlaceHolder>

        <br />
        
        Full name <asp:TextBox ID="tb_FullName" runat="server"></asp:TextBox><br /><br />

        About me <asp:TextBox ID="tb_Description" runat="server"></asp:TextBox><br /><br />

        <asp:PlaceHolder ID="placeholder_noProfilePicture" runat="server" Visible="false">
            We don't have a picture of you.  Upload a picture.
        </asp:PlaceHolder>

        <asp:PlaceHolder ID="placeholder_newProfilePicture" runat="server" Visible="false">
            Upload a new picture
        </asp:PlaceHolder>

        <asp:FileUpload ID="fup_Picture" runat="server" /><br /><br />

        <asp:Button ID="btn_SendProfile" runat="server" Text="Send profile" />
    </asp:PlaceHolder>
</asp:Content>
